<?php
$_CONF = array( );
//Costanti
$_CONF['const'] = array(
	'ACTION_PREFIX' => 'ProtocolFunction_',
	'ACTION_SUFFIX' => '.act',
	'NO_TRANSLATION' => 'NO TRANSLATION FOUND'
);
//Paths
$_CONF['paths'] = array( 
	'base_url' => '',
	'real_base_path' => getcwd( ),
	'actions' => '/actions/',
	'status_file' => '/config/status.js'
);
//Page metas
$_CONF['page'] = array( 
	'encoding' => 'UTF-8'
);
//Lingue
$_CONF['langs'] = array( 
	'en' => array( 'label' => 'english' ),
	'it' => array( 'label' => 'italiano' )
);
$_CONF['DEFAULT_LANG'] = 'en';
//DB
$_CONF['db'] = array( );
$_CONF['db']['charset'] = 'utf8';
$_CONF['db']['dbms'] = 'mysql';
$_CONF['db']['sys_prefix'] = 'sys_';
$_CONF['db']['tables'] = array(
	'strings' => $_CONF['db']['sys_prefix'] . 'strings',
	'logs' => $_CONF['db']['sys_prefix'] . 'logs',
	'query_performance' => $_CONF['db']['sys_prefix'] . 'query_performance'
);
//Logger
$_CONF['log_levels']=array();
$_CONF['log_levels']['FATAL_ERROR'] = '1';
$_CONF['log_levels']['ERROR'] = '2';
$_CONF['log_levels']['WARNING'] = '3';
$_CONF['log_levels']['DEBUG'] = '4';
$_CONF['log_levels']['INFO'] = '5';
//User
$_CONF['userStatus'] = array(
	'pending' => '1',
	'active' => '2',
	'blocked' => '3',
	'banned' => '4'
);
//Smarty
$_CONF['smarty'] = array( );
$_CONF['smarty']['tpl_dir'] = "{$_CONF['paths']['real_base_path']}\\tpl";
$_CONF['smarty']['tpl_c_dir'] = "{$_CONF['paths']['real_base_path']}\\tpl_c";
?>